<!DOCTYPE html>
<html>
	<head>
		<title>Framekiller-Killer Demo</title>
		<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
		<link href="assets/share.css" rel="stylesheet"/>
		<script>
			var prevent_bust = 0;
			window.onbeforeunload = function() {
				// onbeforeunload will be invoked twice, one for frame loaded, one for the 204 page.
				prevent_bust++;
			};
			setInterval(function() {
				if (prevent_bust > 0) {
					prevent_bust -= 2;
					window.top.location = 'http://demo4j.duapp.com/204';
				}
			}, 10);
		</script>
	</head>
	<body>
		<iframe src="http://demo4j.duapp.com/static/security/framekiller/enhanced-framekiller.html"></iframe>
	</body>
</html>